<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>

<form:form commandName="formHeads" cssClass="form-horizontal" role="form" onsubmit="return false;">

    <div class="form-group" style="padding-left: 50px;">
        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="checkAll" name="" value="">
            <label for="checkAll" class="no-padding">全选</label>
        </div>
    </div>

    <div class="form-group" style="padding-left: 50px;">
        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="sysId" name="exportHead" value="sysId">
            <label for="sysId" class="no-padding">序号</label>
        </div>
        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="checkObject" name="exportHead" value="checkObject">
            <label for="checkObject" class="no-padding">考核对象</label>
        </div>
        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="score" name="exportHead" value="score">
            <label for="score" class="no-padding">最终得分</label>
        </div>
        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="rank" name="exportHead" value="rank">
            <label for="rank" class="no-padding">排名</label>
        </div>
        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="checkDept" name="exportHead" value="checkDept">
            <label for="checkDept" class="no-padding">所属部门</label>
        </div>
        <div class="checkbox col-sm-2 ">
            <input type="checkbox" id="summaryDate" name="exportHead" value="summaryDate">
            <label for="summaryDate" class="no-padding">汇总时间</label>
        </div>
    </div>

    <%--<div class="form-group" style="padding-left: 50px;">--%>
        <%--<div class="col-sm-12">--%>
            <%--<label class="col-sm-9 control-label no-padding-right">导出组别:</label>--%>
            <%--<div class="col-sm-3">--%>
                <%--<select name="branchType" id="branchType" class="form-control ">--%>
                    <%--<option value="">全部</option>--%>
                    <%--<option value="0">业主单位</option>--%>
                    <%--<option value="1">审批部门</option>--%>
                    <%--<option value="4">督查组</option>--%>
                <%--</select>--%>
            <%--</div>--%>
        <%--</div>--%>
    <%--</div>--%>
</form:form>


<script>
    $(function () {
        $("#checkAll").click(function () {
            $("input[name='exportHead']").prop("checked", $(this).prop("checked"));
        });

    })
</script>



